package com.lanhai.crowd.service.api;

import com.github.pagehelper.PageInfo;
import com.lanhai.crowd.entity.Role;

import java.util.List;


public interface RoleService {


    PageInfo<Role> getPageInfo(String keyword, Integer pageNum, Integer pageSize);

    void saveRole(Role role);

    void editRole(Role role);

    void deleteRoleByIds(List<Integer> ids);

    List<Role> getAssignedRole(Integer adminId);

    List<Role> getUnassignedRole(Integer adminId);

    void saveAdminRoleRelationship(Integer adminId, List<Integer> roleIdList);

}
